from pyquery import PyQuery as pq

doc = pq(url="https://place.qyer.com/", encoding='utf-8')

# country = doc("#js-container-4 ul")
country = doc("#js-container-4 ul li")

leng = country.length



for j in  country:
    url=pq(j).find("span").find("a").find("span").text()


    print(url)

print(country)